<?php

if (!function_exists('api')){
    function api(){
        return app(\App\Api\Helpers\ApiResponse::class);
    }
}

function isDebug(){
    return config('app.debug') === true;
}
